﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CTEM.Models
{
    public class VehicleDairyCostDTO
    {
        public static  String FUAL = "Nhiên liệu";
        public static  String VISCOSITY1 = "Nhớt1";
        public static String VISCOSITY2 = "Nhớt2";
        public static String VISCOSITY3 = "Nhớt3";
        public static String VISCOSITY4 = "Nhớt4";
        public static  String TOOL = "Dụng cụ";
        public static  String DAMAGED = "Sửa chửa";

        public long VehicleDairyCostID { get; set; }
        public long VehicleDairyID { get; set; }
        public long VehicleID { get; set; }
        public long MaterialID { get; set; }
        public string MaterialName { get; set; }
        public double Quantity { get; set; }
        public double Price { get; set; }
        public double TotalCost { get; set; }
        public string Unit { get; set; }
        public string Taker { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public DateTime Date { get; set; }


        public DateTime? FromDate { get; set; }
        public DateTime? ToDate { get; set; }


        public string PriceFormated { get; set; }
        public string TotalCostFormated { get; set; }

        public static List<string> getTypeCost()
        {
            List<string> list = new List<string>();
            list.Add(FUAL);
            list.Add(VISCOSITY1);
            list.Add(VISCOSITY2);
            list.Add(VISCOSITY3);
            list.Add(VISCOSITY4);
            list.Add(TOOL);
            list.Add(DAMAGED);
            return list;
        }

    }
}
